package com.mobile.manager.service;

import com.mobile.manager.pojo.Device;

import java.util.List;

/**
 * Created by zhangdi on 16/4/24.
 */
public interface IDeviceService {
    public Device getDeviceById(int id);
    public List<Device> getAllDevice();
    public int insertDevice(Device device);
    public List<Device> searchDevice(Device device);
    public int updateDevice(Device device);
    public int borrowDevice(Device device);
    public String getCountOfDeviceByOS(Device device);
}
